package com.ssm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller

public class ControllerTest {
	@RequestMapping("/first")
		public String firstController(Model model,Integer id){
		model.addAttribute("userId",id);
		model.addAttribute("username","张三");
			return "success";
		}
}
